//
//  JFTConfigureHeader.h
//  JftMergeSDK
//
//  Created by zhl on 2016/11/15.
//  Copyright © 2016年 HLZ. All rights reserved.
//

#ifndef JFTConfigureHeader_h
#define JFTConfigureHeader_h
//enum ParamaterTypes{
//    isImgUrl    =0,
//    isOpen,
//    isAgent_id,
//    isAgent_bill_id,
//    isToken,
//    isSDKFlag,
//    isPayToken,
//    isWxappid,
//    isNYBank,
//    isInvoketype
//};
typedef NS_ENUM(NSUInteger, jftResultType) {
    UnpaidType =0,
    AlreadyPaidType =1,
    errorPaidType=2
    
};

// 创建初始化函数，等于用宏创建一个getter函数


//# JFTBASEURL @"http://101.17.64.103"
//#define JFTBASEURL @"http://3ywapi.jtpay.com"
#define JFTBASEURL @"https://api.paycheng.com"
#define DEFAULT_URL @""
//#define ACQUIRINGURL @"http://192.168.9.14:8081/jh-web-order/order/receiveOrder"

#define MIWENKEY        @"JFTMIWENKEY"
#define BASEJFTURLKEY   @"JFTBASEURLKEY"
#define PAYURLKEY       @"JFTPAYURLKEY"
#define AESKEY          @"66af8593f42b01b3ee815ad8be980e3c"
#define AESIV           @"04c52bed86e11f9e"
#define EXT_SDKVERSON   @"3.0.1.2"
#define errorParma      @"无效的参数凭证"
#define PACKAGENAME     [[NSBundle mainBundle]bundleIdentifier]
#define JFTISPad (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) 
#define JFTSCREEN_WIDTH   [UIScreen mainScreen].bounds.size.width
#define JFTSCREENH_HEIGHT [UIScreen mainScreen].bounds.size.height
#define HexRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
/**
 *  自定义Log，可配置开关（用于替换NSLog）
 */
#define JFT_Log(format,...) CustomLog(__FUNCTION__,__LINE__,format,##__VA_ARGS__)
#define JFTIOS_VERSION_10 (NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_9_x_Max)?(YES):(NO)
#endif /* JFTConfigureHeader_h */
